package com.itheima.service;


import com.itheima.pojo.OrderSetting;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface OrderSettingService {

    /**
     * 文件上传
     * @param excelFile
     */
    void importOrderSettings(MultipartFile excelFile);

    /**
     * 根据日期修改可预约人数
     * @param orderSetting
     */
    void editNumberByOrderDate(OrderSetting orderSetting);

    /**
     * 根据年月查询对应的预约设置信息
     * @param month
     * @return
     */
    List<OrderSetting> getOrderSettingByMonth(String month);
}
